<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		
	<script>
		
		var str="28014257";
		var reg=/[1-9]\d{7}/;
		var jg = str.match(reg);
		console.log(jg);
		
		var b = reg.test(str);
		console.log(b);
	</script>
	</body>
</html>
